import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { SshComponent } from './ssh/ssh.component';

const routes: Routes = [
	{
		path: ':name',
		component: SshComponent,
		data: { title: 'WebSSH' },
	},
];

@NgModule({
	imports: [RouterModule.forChild(routes)],
	exports: [RouterModule],
})
export class SshRoutingModule {}
